﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true" CodeFile="PronosticoStock.aspx.cs" Inherits="Modules_Producto_PronosticoStock" Title="Untitled Page" %>

<%@ Register Assembly="WebUtils" Namespace="WebUtils.Controls" TagPrefix="cc1" %>
<%@ Register Src="../../Controls/TecnoPezPopUp.ascx" TagName="TecnoPezPopUp" TagPrefix="uc1" %>
<%@ Register Assembly="WebChart" Namespace="WebChart" TagPrefix="Web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" Runat="Server">
    <table id="TableData" cellspacing="0" style="width: 100%">
        <tr>
            <td class="cabeceraTabla" colspan="4">
                Buscar Pedidos</td>
        </tr>
        <tr>
            <td class="columnaLabels">
                <asp:Label ID="Label1" runat="server" Text="Producto" Width="200px"></asp:Label></td>
            <td class="columnaData" colspan="2">
                <uc1:TecnoPezPopUp ID="TPPProducto" runat="server" TecnoPezActivateValidation="true" />
            </td>
            <td rowspan="1" valign="top">
            </td>
        </tr>
        <tr>
            <td class="columnaLabels">
                <asp:Label ID="Label2" runat="server" Text="Fecha emisión" Width="200px"></asp:Label></td>
            <td class="columnaData">
                <asp:Label ID="Label4" runat="server" CssClass="columnaLabels" Text="Desde"></asp:Label><br />
                <cc1:TecnoPezCalendar ID="TPCFechaDesde" runat="server" />
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TPCFechaDesde"
                    CssClass="errorLabel" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></td>
            <td class="columnaData">
                <asp:Label ID="Label5" runat="server" CssClass="columnaLabels" Text="Hasta"></asp:Label><br />
                <cc1:TecnoPezCalendar ID="TPCFechaHasta" runat="server" />
                <br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TPCFechaHasta"
                    CssClass="errorLabel" ErrorMessage="Campo Requerido"></asp:RequiredFieldValidator></td>
            <td rowspan="1" valign="bottom">
                <asp:Button ID="cmdGenerar" runat="server" CssClass="Boton" Height="23px" OnClick="cmdGenerar_Click"
                    Text="Generar" Width="102px" /></td>
        </tr>
        <tr>
            <td class="columnaLabels" colspan="4">
                <asp:Label ID="lblError" runat="server" CssClass="errorLabel"></asp:Label></td>
        </tr>
        <tr>
            <td class="columnaLabels" colspan="4">
                <asp:Panel ID="pnlResultado" runat="server" Width="100%">
                    <table id="Table1" cellspacing="0" style="width: 100%">
                        <tr>
                            <td class="cabeceraTabla" colspan="4">
                                Resultado</td>
                        </tr>
                        <tr>
                            <td class="columnaLabels" colspan="4" align="center">
                                <asp:Label ID="Label3" runat="server"></asp:Label><br />
                                <Web:ChartControl ID="charPronostico" runat="server" BorderStyle="Outset" BorderWidth="5px"
                                    Width="700px">
                                    <YAxisFont StringFormat="Far,Near,Character,LineLimit" />
                                    <XTitle StringFormat="Center,Near,Character,LineLimit" />
                                    <ChartTitle StringFormat="Center,Near,Character,LineLimit" />
                                    <XAxisFont StringFormat="Center,Near,Character,LineLimit" />
                                    <Background Color="LightSteelBlue" />
                                    <YTitle StringFormat="Center,Near,Character,LineLimit" />
                                </Web:ChartControl></td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
        <tr>
            <td colspan="4" style="height: 170px">
            </td>
        </tr>
    </table>
</asp:Content>

